﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MainMT.master" CodeFile="univercityunit.aspx.cs" Inherits="univercityunit" %>
 
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <table border="0" cellpadding="0" cellspacing="0" style="width: 970px; height: 181px; margin: 0 auto;">
        <tbody>
            <tr>
                <td align="left" style="width: 700px; height: 298px;" valign="top" id="TD1" runat="server">
                    <asp:GridView ID="GridView1" runat="server" Height="20px" Width="700px" AutoGenerateColumns="False" CellPadding="4" AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging" ForeColor="#333333" GridLines="None">
                        <FooterStyle BackColor="#507CD1" ForeColor="White" Font-Bold="True" />
                        <Columns>
                            <asp:BoundField DataField="upersonname" HeaderText="姓名" />
                            <asp:BoundField DataField="upersonadd" HeaderText="居住地址" />
                            <asp:BoundField DataField="upersontel" HeaderText="联系电话" />
                            <asp:BoundField DataField="upersonsex" HeaderText="性别" />
                            <asp:BoundField DataField="upersonage" HeaderText="年龄" />
                            <asp:BoundField DataField="uuname" HeaderText="所属学校" />
                            <asp:BoundField DataField="uhandletime" HeaderText="办理时间" />
                            <asp:BoundField DataField="utime" HeaderText="注册时间" />
                        </Columns>
                        <RowStyle BackColor="#EFF3FB" />
                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                        <PagerStyle BackColor="#159fde" ForeColor="White" HorizontalAlign="Center" />
                        <HeaderStyle BackColor="#159fde" Font-Bold="True" ForeColor="White" />
                        <PagerSettings FirstPageImageUrl="~/images/home.gif" LastPageImageUrl="~/images/end.gif" NextPageImageUrl="~/images/next.gif" PreviousPageImageUrl="~/images/pre.gif" />
                        <EditRowStyle BackColor="#2461BF" />
                        <AlternatingRowStyle BackColor="White" />
                    </asp:GridView>
                </td>
                <td style="width: 270px; height: 298px; text-align: center;">
                    <table border="0" cellpadding="0" cellspacing="0" style="width: 268px; height: 296px; border: #159fde 1px dashed;">
                        <tr>
                            <td style="width: 100px; text-align: right;" class="auto-style1">姓 名:</td>
                            <td style="height: 53px; text-align: left;">
                                <asp:TextBox ID="tbxname" runat="server" Width="120px"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td style="text-align: right;">性 别:</td>
                            <td style="text-align: left;">
                                <asp:RadioButton ID="RadioButton1" runat="server" Checked="True" GroupName="sex"
                                    Text="男" Width="42px" />
                                <asp:RadioButton ID="RadioButton2" runat="server" GroupName="sex" Text="女" /></td>
                        </tr>
                        <tr>
                            <td style="text-align: right;">年 龄:</td>
                            <td style="text-align: left;">
                                <asp:TextBox ID="tbxage" runat="server" Width="120px"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td style="text-align: right;">居住地址:</td>
                            <td style="text-align: left;">
                                <asp:TextBox ID="tbxadd" runat="server" Width="120px"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td style="text-align: right;">联系电话:</td>
                            <td style="text-align: left;">
                                <asp:TextBox ID="tbxtel" runat="server" Width="120px"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td style="text-align: right;">办理时间:</td>
                            <td style="text-align: left;">
                                <asp:DropDownList ID="ddlhandle" runat="server" Width="125px">
                                    <asp:ListItem>一次性</asp:ListItem>
                                    <asp:ListItem>二个月</asp:ListItem>
                                    <asp:ListItem>一年</asp:ListItem>
                                    <asp:ListItem>二年</asp:ListItem>
                                </asp:DropDownList></td>
                        </tr>
                        <tr>
                            <td style="text-align: right;">所属学校:</td>
                            <td style="text-align: left;">
                                <asp:DropDownList ID="ddl" runat="server" Width="125px">
                                </asp:DropDownList></td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <div style="float: left; margin-left: 30px;">
                                    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="插入记录" BackColor="#159fde" ForeColor="White" />
                                    &nbsp;
                                    <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="重置记录" BackColor="#159fde" ForeColor="White" />
                                </div>
                            </td>
                        </tr>
                    </table>
                    <asp:Label ID="Label1" runat="server"></asp:Label>
                </td>
            </tr>
        </tbody>
    </table>
</asp:Content>
<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="head">
    <style type="text/css">
        .auto-style1 {
            height: 53px;
        }
    </style>
</asp:Content>

